package cn.codergege.shiro.chapter6.dao;

import cn.codergege.shiro.chapter6.model.Role;

public interface RoleDao {
    public Role createRole(Role role) throws Exception;
    public void deleteRole(Long roleId) throws Exception;

    public void correlationPermissions(Long roleId, Long... permissionIds) throws Exception;
    public void uncorrelationPermissions(Long roleId, Long... permissionIds) throws Exception;
}
